Ti.include('../utils/parser.js');
Ti.include('../utils/xhr.js');
Ti.include('../config.js');
var xhr = new XHR(URLs['latest']);
xhr.getXML(function(data){
	var parser = new Parser(data);
	var elements = parser.parseXML();
	var el = '';
	for (var i=0; i < elements.length; i++) {
		el += elements.item(i).getElementsByTagName('title').item(0).text + "\n"; 	  
	};
	alert(el);
});


